import { RouterProvider, createBrowserRouter } from "react-router-dom";
import router from "@/router/router";

export default function Router() {
    const routerRules = createBrowserRouter(router);
    return <RouterProvider router={routerRules} />;
}
